import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

/**
 * 第三个java类
 *
 * @author yuxiao
 * @create 2016-06-29 下午6:55
 */

public class Third {
  public static void main(String[] args){
    List<String> list = Collections.EMPTY_LIST;
//    list.add("a");
    print(list);
    List<String> single = Collections.singletonList("a");
    System.out.println(single.get(0));
    ArrayList<String> arrayList = new ArrayList<>();

  }

  private static void print(List<String> list) {
    for (String s : list) {
      System.out.println(s);
    }
  }
}
